package com.example.edu.Utils;

public class Constants {
    public static final String LOCK = "lock:";
    public static final String USER_KEY = "user:";
    public static final String PICTURE_KEY = "picture:";
    public static final String TAG_KEY = "tag:";
    public static final String HOT_ARTICLES_KEY = "hot_articles:";
    public static final long USER_CACHE_TTL = 72L;
    public static final long PICTURE_CACHE_TTL = 240L;
    public static final long TAG_CACHE_TTL = 240L;
    public static final long HOT_ARTICLES_CACHE_TTL = 24L;
    public static final long CACHE_NULL_TTL = 1L;
    public static final long LOCK_TTL = 5;
    public static final String PICTURE_ADDRESS = "/picture";
    public static final String ARTICLE_ADDRESS = "/article";
    public static final String BASE_URL = "http://服务器ip";
}
